
    <div class="col-2 menu">
        <div class="row">
            <button class="menuBtn" onclick="window.location.href='/'" <?php if($pageName == "发现"){echo 'id="menuActive"';}?>><img class="menuicon" src="/static/img/home.svg">发现</button>
        </div>
        <div class="row">
            <button class="menuBtn" onclick="window.location.href='/control/edit.php'"><img class="menuicon" src="/static/img/publish.svg">发布</button>
        </div>
        <!--<div class="row">
            <button class="menuBtn" onclick="window.location.href='/message.php'" <?php /*if($pageName == "私信"){echo 'id="menuActive"';}*/?>><img class="menuicon" src="/static/img/chat-menu.svg">私信</button>
        </div>-->
        <div class="row">
            <button class="menuBtn" onclick="window.location.href='/notifiy.php'" <?php if($pageName == "通知"){echo 'id="menuActive"';}?>><img class="menuicon" src="/static/img/notify.svg">通知</button>
        </div>
        <?php if($islogin==1){?>
        <div class="row">
            <button onclick="window.location.href='profile.php'" class="menuBtn" <?php if($pageName == "个人中心"&&$meuid==$user_info["message"]["user_id"]){echo 'id="menuActive"';}?>><img class="menuicon meavatar" src="<?php echo $menuavatar ?: ($user_info["message"]["avatar"] ?? '/data/avatar/default.jpg'); ?>">我</button>
        </div>
        <?php }else{?>

        <div class="row">
            <button onclick="window.location.href='login.php'" class="menu_login_btn">登录</button>
        </div>
        <div class="row qlogin" onclick="window.location.href='login.php'">
            <div class="quick_login_t">马上登录即可</div>
            <div class="quick_login"><img src="/static/img/likehand.svg" alt=""/>刷到更懂你的优质内容</div>
            <div class="quick_login"><img src="/static/img/grass.svg" alt=""/>搜索最新种草、拔草信息</div>
            <div class="quick_login"><img src="/static/img/star.svg" alt=""/>查看收藏、点赞的笔记</div>
            <div class="quick_login"><img src="/static/img/chat.svg" alt=""/>与他人更好地互动、交流</div>
        </div>
        <?php }?>

        <div class="row info_pad" style="display: none;" id="infopad">
            <div class="smallh">其他</div>
            <div class="info_btn" onclick="contactMsg('<?php echo $sys_info['contact']?>')">联系官方</div>
            <?php if($islogin==1){?>
                <div class="info_btn" id="logout" onclick="deleteCookie('u_token')">退出登录</div>
            <?php }else{?>
                <div class="info_btn">暂无更多 ~</div>
            <?php }?>
        </div>

        <div class="row">
            <button id="showmore" class="menuBtn bottom_menu"><img class="menuicon"
                                                                   src="/static/img/more.svg">更多</button>
        </div>
    </div>